﻿<%@ Page Language="C#" AutoEventWireup="true"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
    protected void Page_Load(object sender, EventArgs e)
    {
        string Alias = "Tapchi";
        string Site = "vie";
        AjaxPro.Utility.RegisterTypeForAjax(typeof(Portal.Environment.Environments));
        AjaxPro.Utility.RegisterTypeForAjax(typeof(Portal.Environment.PersonalizationBll));
        string HtmlText = Portal.Environment.GeneratePage.Execute(this, Site, Alias);
        placeHolderContent.Controls.Clear();
        placeHolderContent.Controls.Add(new System.Web.UI.LiteralControl(HtmlText));
    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <title>Tạp chí PCMT</title>
    <link rel="stylesheet" href="css/style.css?01072010" type="text/css" media="all" />
    <link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="screen"
        title="prettyPhoto main stylesheet" charset="utf-8" />
    <link rel="stylesheet" href="css/jquery.fancybox-1.3.4.css" type="text/css" media="screen"
        title="prettyPhoto main stylesheet" charset="utf-8" />
    <link rel="stylesheet" href="css/image-slideshow.css" type="text/css" />
    <link href="js/jquery-ui-1.8.7.css" rel="stylesheet" type="text/css" />
    <link href="css/portlets.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="js/jquery-ui-1.8.7.custom.min.js"></script>
    <script type="text/javascript" src="js/jquery.simplemodal.js"></script>
    <script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
    <script type="text/javascript" src="js/jquery.slideviewer.1.2.js"></script>    
    <script type="text/javascript" src="js/interface.js"></script>
    <script type="text/javascript" src="js/ddtabmenu.js"></script>
    <script type="text/javascript" src="js/vtip.js"></script>
    
        
    <script type="text/javascript">
    <!--
        NS4 = (document.layers); IE4 = (document.all); ver4 = (NS4 || IE4);
        curPage = 0; numPages = 3;
    //-->
    </script>
    <script type="text/javascript" src="flowplayer/example/flowplayer-3.1.2.min.js"></script>
    
    <script src="js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" src="js/audio-player/audio-player.js"></script>
    <script type="text/javascript">
        AudioPlayer.setup("js/audio-player/player.swf", {
            width: 175,
            autostart: "yes"
        });  
    </script>
    <script type="text/javascript">
        function ClientPersonalizationWebPart(WebPartId, TabModuleId, divPersonalization) {
            Html = Portal.Environment.Environments.GetPersonalizationContent(WebPartId, TabModuleId).value;
            document.getElementById(TabModuleId + divPersonalization).innerHTML = Html;
        }

        function ClientExitPersonalization(WebPartId, TabModuleId, divPersonalization) {
            document.getElementById(TabModuleId + divPersonalization).innerHTML = "";
        }
        function ClientResetToDefault(BelongSite, Alias, LoginName) {
            if (confirm('Bạn đã chắc chắn thiết lập trở về trạng thái ngầm định chưa?') == false) return;
            ErrMsg = Portal.Environment.PersonalizationBll.ResetPersonalizationConfigModuleForUserToDefault(BelongSite, Alias, LoginName).value;
            alert(ErrMsg);
            if (ErrMsg.indexOf("ERROR") == -1) {
                window.open(Alias+".aspx", '_self');
            }
        }

        function ShowPersonalization(Alias) {
            window.open("Personalization.aspx?Alias=" + Alias, '_blank');
        }
    </script>
</head>
<body>
    <form id="frmMain" runat="server">
    <div>
        <asp:PlaceHolder ID="placeHolderContent" runat="server"></asp:PlaceHolder>
    </div>
    <div style="display:none;">
    <div id="basic-modal-content">
    </div>
    </div>
    <script>
        function ShowFormInputFAQ() {
            // Get infomation from Person Page here

            //var CaseId = '02'; // Mã vụ án

            //var fullname
            //var fullnameterm = ''; // tên của người nghiện

            $('#basic-modal-content').html(Portal.SODC.WebSite.FAskQuestionsFWP.ServerSideRenderQuickSent().value);
            $('#basic-modal-content').modal();
            return false;
        }

    </script>
    
<script type="text/javascript" language="javascript">
    $(document).ready(
	function () {
	    $('a.closeEl').bind('click', toggleContent);
	    $('div.groupWrapper').Sortable(
			{
			    accept: 'groupItem',
			    helperclass: 'sortHelper',
			    activeclass: 'sortableactive',
			    hoverclass: 'sortablehover',
			    handle: 'div.itemHeader',
			    tolerance: 'pointer',
			    onChange: function (ser) {
			    },
			    onStart: function () {
			        $.iAutoscroller.start(this, document.getElementsByTagName('body'));
			    },
			    onStop: function () {
			        $.iAutoscroller.stop();
			    }
			}
		);
	}
);
    var toggleContent = function (e) {
        var targetContent = $('div.itemContent', this.parentNode.parentNode);
        if (targetContent.css('display') == 'none') {
            targetContent.slideDown(100);
            
        } else {
            targetContent.slideUp(100);
            
        }
        return false;
    };
</script>




    </form>



</body>
</html>

















